﻿Imports System
Imports System.Runtime.CompilerServices
Imports System.Runtime.InteropServices

Namespace Google.Desktop.Interop
    <ComImport, TypeLibType(CShort(2)), Guid("1B4C0C56-5990-4277-826E-1508037DD8A7"), ClassInterface(CShort(0))> _
    Public Class GoogleDesktopSchemaFilterClass
        Implements IGoogleDesktopSchemaFilter, GoogleDesktopSchemaFilter
        ' Methods
        <MethodImpl(MethodImplOptions.InternalCall, MethodCodeType:=MethodCodeType.Runtime)> _
        Public Sub New()

        End Sub

        <MethodImpl(MethodImplOptions.InternalCall, MethodCodeType:=MethodCodeType.Runtime), DispId(&H3FC)> _
        Public Overridable Sub Allow(<[In](), MarshalAs(UnmanagedType.BStr)> ByVal schema_name As String) Implements IGoogleDesktopSchemaFilter.Allow

        End Sub

        <MethodImpl(MethodImplOptions.InternalCall, MethodCodeType:=MethodCodeType.Runtime), DispId(&H3FB)> _
        Public Overridable Sub AllowNone() Implements IGoogleDesktopSchemaFilter.AllowNone

        End Sub

        <MethodImpl(MethodImplOptions.InternalCall, MethodCodeType:=MethodCodeType.Runtime), DispId(&H3FD)> _
        Public Overridable Sub Disallow(<[In](), MarshalAs(UnmanagedType.BStr)> ByVal schema_name As String) Implements IGoogleDesktopSchemaFilter.Disallow

        End Sub

        <MethodImpl(MethodImplOptions.InternalCall, MethodCodeType:=MethodCodeType.Runtime), DispId(&H3FE)> _
        Public Overridable Function GetAllowed() As <MarshalAs(UnmanagedType.SafeArray, SafeArraySubType:=VarEnum.VT_VARIANT)> Object() Implements IGoogleDesktopSchemaFilter.GetAllowed

        End Function

    End Class
End Namespace

